From ec1904c7793636e72c30660fc6ec5a2429c99aaa Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Wed, 30 May 2012 17:29:30 -0400 Subject: [PATCH] fontchooser: silence g-i scanner warning These parameters should be named the same in the definition and the declaration. https://bugzilla.gnome.org/show_bug.cgi?id=677127 --- gtk/gtkfontchooser.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gtk/gtkfontchooser.h b/gtk/gtkfontchooser.h index 93323f3005..f91667c966 100644 --- a/gtk/gtkfontchooser.h +++ b/gtk/gtkfontchooser.h @@ -57,13 +57,13 @@ struct _GtkFontChooserIface GTypeInterface base_iface; /* Methods */ - PangoFontFamily * (* get_font_family) (GtkFontChooser *chooser); - PangoFontFace * (* get_font_face) (GtkFontChooser *chooser); - gint (* get_font_size) (GtkFontChooser *chooser); + PangoFontFamily * (* get_font_family) (GtkFontChooser *fontchooser); + PangoFontFace * (* get_font_face) (GtkFontChooser *fontchooser); + gint (* get_font_size) (GtkFontChooser *fontchooser); - void (* set_filter_func) (GtkFontChooser *chooser, + void (* set_filter_func) (GtkFontChooser *fontchooser, GtkFontFilterFunc filter, - gpointer data, + gpointer user_data, GDestroyNotify destroy); /* Signals */ -- 2.30.2